/**
 * Created with IntelliJ IDEA.
 * Description：
 * User：user
 * DATE:2021-11-02
 * Time:10:56
 */
public class Main {
    public static void main(String[] args) {
        MyStack myStack = new MyStack();
        myStack.push(1);
        myStack.push(2);
        myStack.push(3);
        myStack.push(3);
        myStack.push(3);
        myStack.push(3);
        myStack.push(5);
        System.out.println(myStack.isFull());
        System.out.println(myStack.empty());
        System.out.println(myStack.peek());
        System.out.println(myStack.pop());
    }
}
